package com.rz.paas.baselib.netRequest.request.okhttp;

import com.rz.paas.baselib.netRequest.request.UrlCreator;

public class GetRequest<T> extends Request<T, GetRequest<T>> {

    public GetRequest(String url) {
        super(url);
    }

    @Override
    public okhttp3.Request generateRequest(okhttp3.Request.Builder builder) {
        return builder.get().url(UrlCreator.createUrlFromParams(url, params)).build();
    }
}
